package bueu.bexl;

public class EqExpr extends BinayExpr {

	public EqExpr(final BexlExpr expr1, final BexlExpr expr2) {
		super(expr1, expr2);
	}

	@Override
	protected final Object evaluate(Object value1, Object value2) {
		return compare(value1, value2) == 0;
	}
	
	@Override
	public final String toString() {
		return toString("==");
	}
}
